export function deBase64(data) {
  let bytes = window.atob(data)
  let n = bytes.length
  let ia = new Uint8Array(n)
  while (n--) {
    ia[n] = bytes.charCodeAt(n)
  }
  return ia
}
